package com.andyliu.log;

import com.andyliu.interceptor.BusinessType;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @packageName: com.andyliu.log
 * @user: andyliu
 * @date: 2021/9/17 18:45
 * @email 115176513@qq.com
 * @description: TODO
 */
@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {
    String value() default "";
    @AliasFor("value")
    String moduleName() default "";
    // 功能
    public BusinessType businessType() default BusinessType.OTHER;
    // 是否保存参数
    public boolean isSaveParam() default true;




}
